package com.cai.kcsj.service.impl;

import com.cai.kcsj.entity.Type;
import com.cai.kcsj.mapper.TypeMapper;
import com.cai.kcsj.service.TypeServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/1/4 18 : 26
 * @package：com.cai.kcsj.service.impl
 */
@Service
public class TypeServerImpl implements TypeServer{
    @Autowired
    private TypeMapper typeMapper;
    @Override
    public List<Type> selectType() {

        return  typeMapper.selectType();
    }

    @Override
    public Type selectTypeById(Integer id) {
        return null;
    }
}
